package com.enfo.zjabank.service;

import com.alibaba.fastjson.JSON;
import com.enfo.zjabank.dao.GridDao;
import com.enfo.zjabank.model.Pager;
import org.apache.commons.collections.MapUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by zhoum on 2016/8/9.
 */
@Service
public class GridServiceImpl implements GridService{
    @Autowired
    private GridDao gridDao;
    @Override
    public String listByPage(String gridPager) {
        String sql = "";
        return gridDao.listByPage(gridPager,sql);
    }
    public String listShuJu(String gridPager) {
        String sql = "";
        return gridDao.listShuJu(gridPager,sql);
    }

    public String listZhuzhuangLb(String gridPager) {
        String sql = "";
        return gridDao.listZhuzhuangLb(gridPager,sql);
    }
    public String listTjfxLb(String gridPager) {
        String sql = "";
        return gridDao.listTjfxLb(gridPager,sql);
    }
    public String listGytjLb(String params,String gridPager) {
        String sql = "";
        return gridDao.listGytjLb(params,gridPager,sql);
    }
    public Map<String,BigDecimal[]> listLjbbShuJu() {
        return gridDao.listLjbbShuJu();
    }
    public Map<String,BigDecimal[]> listZhuZhuangShuJu() {
        return gridDao.listZhuZhuangShuJu();
    }
    public Map<String,String> listareaShuJu() {
        return gridDao.listareaShuJu();
    }
    public BigDecimal[] listTjfxShuJu() {
        return gridDao.listTjfxShuJu();
    }

}
